
<script language="javascript" src="<?php echo base_url(); ?>application/views/cirugia/funcionAuxiliares.js"></script>

        <div>
     
                    <table width="700px">
                    
                        <caption><h5>Medicamentos</h5></caption>
                           <thead>
                            <th>Nro. Medicamento</th>                             
                             <th>Insumo</th>
                             <th>Dosis</th>                                                                 
                          </thead>
                          <tbody id="tablCuerMed" > 
                          
                          <?php                                                         
                            if(isset($medicamentos)){
                                $int=0;
                                foreach ($medicamentos as $med) {
                                    $int++;
                                    $numMed=$med['IdMed'];
                                    $nomMed=$med['NomMed'];
                                    $dosis=$med['cant'];
                                    echo "<tr><td>$numMed</td>";            
                                    echo"<td>$nomMed</td>";            
                                    echo"<td>$dosis</td></tr>";                                                                                                                                                                                   
                                }
                            }                            
                            ?>
                        </tbody>                       
                  </table>   
    </div>
  
   
 
 